#!/bin/sh

echo "Client address is: $1"
echo "Command to execute is: $2"

export DISPLAY="$1:0"

$2 2>&1

exit $?
